﻿
namespace MC2Development.DevWebServer.Interfaces
{
    /// <summary>
    /// Interface to be implemented by any authenticator class
    /// </summary>
    public interface IAuthenticator
    {
        /// <summary>
        /// Authenticates the yser based upon the supplied credentials
        /// </summary>
        /// <param name="suppliedCredentials">Credentials to be authenticated</param>
        /// <param name="expectedCredentials">Credentials to authenticate against</param>
        /// <returns>Boolean indicating if the user is authenticated successfully</returns>
        bool AuthenticateUser(Credentials suppliedCredentials, Credentials expectedCredentials);
    }
}
